class CreatePayableBills < ActiveRecord::Migration
  def self.up
    create_table :payable_bills do |t|
      t.column :user_id,    :integer
      t.column :bill_id,    :integer
      t.column :amount,     :string
      t.column :paid_at,    :datetime
      t.column :account_id, :integer
      t.column :receipt,    :string
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.column :deleted_at, :datetime
      t.column :seen,       :boolean, :default => false
    end
  end

  def self.down
    drop_table :payable_bills
  end
end
